#ifndef OBJFILE_H
#define OBJFILE_H

#include <vector>
#include "mathengine.h"

namespace raster {

/// \brief load obj file
///
/// resource from http://www.opengl-tutorial.org/beginners-tutorials/tutorial-7-model-loading/
class ObjFile {
public:
    ObjFile(const char* filename);

    // outputs
    std::vector<mathengine::Vec3f> verts;
    std::vector<mathengine::Vec3f> norms;
    std::vector<mathengine::Vec2f> uvs;
};

} // namespace raster

#endif // OBJFILE_H
